package com.fancy.learncenter.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by shiweiwei on 2017/12/16.
 */

public class CartoonQuestionBankBean implements Parcelable {


    /**
     * data : {"questionVOs":[{"answers":{"texts":[{"id":941976360335847400,"type":0,"value":"490"}]},"appPageKey":"LCTP","constructionNameCn":"听音选图","constructionNameEn":"Listen and Choose the picture","options":{"images":[{"id":490,"imgUrl":"http://img1.fancyedu.com/dev/question/images/1-1.png","playLink":"","resourceName":"1-1.png","type":1},{"id":491,"imgUrl":"http://img1.fancyedu.com/dev/question/images/1-3.png","playLink":"","resourceName":"1-3.png","type":1},{"id":492,"imgUrl":"http://img1.fancyedu.com/dev/question/images/1-5.png","playLink":"","resourceName":"1-5.png","type":1},{"id":493,"imgUrl":"http://img1.fancyedu.com/dev/question/images/1-7.png","playLink":"","resourceName":"1-7.png","type":1}]},"stems":{"audios":[{"id":489,"imgUrl":"","playLink":"http://img1.fancyedu.com/dev/question/audios/1-1.mp3","resourceName":"1-1.mp3","type":3}]}},{"answers":{"texts":[{"id":941976369328435200,"type":0,"value":"494"},{"id":941976369512984600,"type":0,"value":"495"},{"id":941976369701728300,"type":0,"value":"496"},{"id":941976369898860500,"type":0,"value":"497"}]},"appPageKey":"LPTPT","constructionNameCn":"看词拼图","constructionNameEn":"Look and Put the picture together","options":{"images":[{"id":494,"imgUrl":"http://img1.fancyedu.com/dev/question/images/1-6-1.png","playLink":"","resourceName":"1-6-1.png","type":1},{"id":495,"imgUrl":"http://img1.fancyedu.com/dev/question/images/1-6-2.png","playLink":"","resourceName":"1-6-2.png","type":1},{"id":496,"imgUrl":"http://img1.fancyedu.com/dev/question/images/1-6-3.png","playLink":"","resourceName":"1-6-3.png","type":1},{"id":497,"imgUrl":"http://img1.fancyedu.com/dev/question/images/1-6-4.png","playLink":"","resourceName":"1-6-4.png","type":1}]},"stems":{"texts":[{"id":941976360788832300,"type":0,"value":"classroom"}]}},{"answers":{"texts":[{"id":941976372784541700,"type":0,"value":"book"}]},"appPageKey":"LCTW","constructionNameCn":"看图选词","constructionNameEn":"Look and Choose the word","options":{"texts":[{"id":941976372155396100,"type":0,"value":"book"},{"id":941976372344139800,"type":0,"value":"map"},{"id":941976372528689200,"type":0,"value":"board"}]},"stems":{"images":[{"id":498,"imgUrl":"http://img1.fancyedu.com/dev/question/images/1-11.png","playLink":"","resourceName":"1-11.png","type":1}]}},{"answers":{"texts":[{"id":941976377310195700,"type":0,"value":"e"}]},"appPageKey":"LLAS","constructionNameCn":"听音拼写","constructionNameEn":"Listen,Look and Spell","stems":{"audios":[{"id":499,"imgUrl":"","playLink":"http://img1.fancyedu.com/dev/question/audios/1-1.mp3","resourceName":"1-1.mp3","type":3}],"images":[{"id":500,"imgUrl":"http://img1.fancyedu.com/dev/question/images/1-1.png","playLink":"","resourceName":"1-1.png","type":1}],"texts":[{"id":941976377050148900,"type":0,"value":"comput##r"}]}},{"answers":{"texts":[{"id":941976378799173600,"type":0,"value":"name"},{"id":941976378983723000,"type":0,"value":"your"},{"id":941976379172466700,"type":0,"value":" I\u2019m"}]},"appPageKey":"USFB","constructionNameCn":"选词填空","constructionNameEn":"Use words from the box","options":{"texts":[{"id":941976377998061600,"type":0,"value":"name"},{"id":941976378178416600,"type":0,"value":"I'm"},{"id":941976378362966000,"type":0,"value":"your"},{"id":941976378547515400,"type":0,"value":"my"}]},"stems":{"texts":[{"id":941976377746403300,"type":0,"value":"Hello. My ## is  Sonia. What's##name?  Hi. ## Mark."}]}},{"answers":{"texts":[{"id":941976382712459300,"type":0,"value":"sleeping"}]},"appPageKey":"USFB","constructionNameCn":"选词填空","constructionNameEn":"Use words from the box","options":{"texts":[{"id":941976381902958600,"type":0,"value":"sleeping"},{"id":941976382087508000,"type":0,"value":"taking a birth"},{"id":941976382272057300,"type":0,"value":"cooking"},{"id":941976382456606700,"type":0,"value":"cleaning"}]},"stems":{"images":[{"id":501,"imgUrl":"http://img1.fancyedu.com/dev/question/images/4-12-1.png","playLink":"","resourceName":"4-12-1.png","type":1}],"texts":[{"id":941976381642911700,"type":0,"value":"where\u2019s the baby?She\u2019s in the bedroom.    She\u2019s ##"}]}},{"answers":{"texts":[{"id":941976385975627800,"type":0,"value":"it"}]},"appPageKey":"USFB","constructionNameCn":"选词填空","constructionNameEn":"Use words from the box","options":{"texts":[{"id":941976385526837200,"type":0,"value":"it"},{"id":941976385719775200,"type":0,"value":"they"}]},"stems":{"audios":[{"id":502,"imgUrl":"","playLink":"http://img1.fancyedu.com/dev/question/audios/TR51-1.mp3","resourceName":"TR51-1.mp3","type":3}],"texts":[{"id":941976385266790400,"type":0,"value":"Yes, ##is"}]}},{"answers":{"texts":[{"id":941976390803271700,"type":0,"value":"Yes, there is."}]},"appPageKey":"LAC","constructionNameCn":"听音选择","constructionNameEn":"Listen and Choose","options":{"texts":[{"id":941976390358675500,"type":0,"value":"Yes, there is."},{"id":941976390547419100,"type":0,"value":" No, there isn\u2019t."}]},"stems":{"audios":[{"id":503,"imgUrl":"","playLink":"http://img1.fancyedu.com/dev/question/audios/TR35-1.mp3","resourceName":"TR35-1.mp3","type":3}],"images":[{"id":504,"imgUrl":"http://img1.fancyedu.com/dev/question/images/4-5-1.png","playLink":"","resourceName":"4-5-1.png","type":1}]}},{"answers":{"texts":[{"id":941976397606432800,"type":0,"value":"506"}]},"appPageKey":"LAC","constructionNameCn":"听音选择","constructionNameEn":"Listen and Choose","options":{"images":[{"id":506,"imgUrl":"http://img1.fancyedu.com/dev/question/images/5-12-3.png","playLink":"","resourceName":"5-12-3.png","type":1},{"id":507,"imgUrl":"http://img1.fancyedu.com/dev/question/images/5-12-4.png","playLink":"","resourceName":"5-12-4.png","type":1}]},"stems":{"audios":[{"id":505,"imgUrl":"","playLink":"http://img1.fancyedu.com/dev/question/audios/TR43-1.mp3","resourceName":"TR43-1.mp3","type":3}]}},{"answers":{"texts":[{"id":941976400676663300,"type":0,"value":"No, I don\u2019t."}]},"appPageKey":"LAC","constructionNameCn":"听音选择","constructionNameEn":"Listen and Choose","options":{"texts":[{"id":941976400240455700,"type":0,"value":"Yes,I do."},{"id":941976400425005000,"type":0,"value":"No, I don\u2019t"}]},"stems":{"audios":[{"id":508,"imgUrl":"","playLink":"http://img1.fancyedu.com/dev/question/audios/TR48-1.mp3","resourceName":"TR48-1.mp3","type":3}]}},{"answers":{"texts":[{"id":941976405449781200,"type":0,"value":"No, he doesn\u2019t. "}]},"appPageKey":"LPC","constructionNameCn":"选择","constructionNameEn":"Look and Choose","options":{"texts":[{"id":941976405000990700,"type":0,"value":"No, he doesn\u2019t. "},{"id":941976405189734400,"type":0,"value":"Yes, he does."}]},"stems":{"images":[{"id":509,"imgUrl":"http://img1.fancyedu.com/dev/question/images/6-8.png","playLink":"","resourceName":"6-8.png","type":1}],"texts":[{"id":941976404745138200,"type":0,"value":"Does the boy want a truck? "}]}},{"answers":{"texts":[{"id":941976408108970000,"type":0,"value":"are"},{"id":941976408293519400,"type":0,"value":"They're"}]},"appPageKey":"FTB","constructionNameCn":"填空","constructionNameEn":"Fill in the blanks","stems":{"images":[{"id":510,"imgUrl":"http://img1.fancyedu.com/dev/question/images/2-8-1.png","playLink":"","resourceName":"2-8-1.png","type":1}],"texts":[{"id":941976407869894700,"type":0,"value":"What ## they? They\u2019re rocks."}]}}]}
     * info : {"ok":true}
     */
    private ArrayList<QuestionVOsBean> questionVOs;
    private String releaseTime = "";

    public String getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    protected CartoonQuestionBankBean(Parcel in) {
        questionVOs = in.createTypedArrayList(QuestionVOsBean.CREATOR);
    }

    public static final Creator<CartoonQuestionBankBean> CREATOR = new Creator<CartoonQuestionBankBean>() {
        @Override
        public CartoonQuestionBankBean createFromParcel(Parcel in) {
            return new CartoonQuestionBankBean(in);
        }

        @Override
        public CartoonQuestionBankBean[] newArray(int size) {
            return new CartoonQuestionBankBean[size];
        }
    };

    public ArrayList<QuestionVOsBean> getQuestionVOs() {
        return questionVOs;
    }

    public void setQuestionVOs(ArrayList<QuestionVOsBean> questionVOs) {
        this.questionVOs = questionVOs;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeTypedList(questionVOs);
    }
}
